<template>
  <div class="ssjy_class">
    <div class="topTitle df aic">
      <div class="numBox" v-for="(item,index) in 5" :key="index">{{index}}</div>
      <span class="cf fwBlod fs28">个</span>
    </div>

    <div class="df aic jcsa mt60">
      <div class="top_Item" v-for="(item,index) in jylList" :key="index">
        <div class="item_name">{{item.name}}</div>
        <div class="item_value">{{item.value}}</div>
      </div>
    </div>
    <div class="table-header df aic">
      <div>分类</div>
      <div>销售时间</div>
      <div>经营者名称</div>
      <div>商品名称</div>
      <div>登记名称</div>
      <div>销量</div>
    </div>
    <swiper :options="swiperOption" ref="mySwiper" style="height: 420px;width: 690px;">
      <swiper-slide
        class="zhnc-table-th mb8 df aic"
        v-for="item in 20"
        :key="item"
        style="height: 30px;"
      >
        <div class="fs14 textOver">兽药</div>
        <div class="fs14 textOver">2025-01-01</div>
        <div class="fs14 textOver">康鼎农牧农资站</div>
        <div class="fs14 textOver">阿莫西林片</div>
        <div class="fs14 textOver">兽药字22020</div>
        <div class="fs14 textOver">2</div>
      </swiper-slide>
    </swiper>
  </div>
</template>
  
  
  <script>
export default {
  components: {},
  data() {
    return {
      swiperOption: {
        direction: "vertical",
        loop: true,
        freeMode: true,
        slidesPerView: "auto",
        autoplay: {
          delay: 5000,
          stopOnLastSlide: false,
          disableOnInteraction: false
        },
        pagination: {
          el: ".swiper-pagination",
          type: "fraction",
          clickable: true
        }
      },
      jylList: [
        {
          name: "农药交易量",
          value: 124
        },
        {
          name: "兽药交易量",
          value: 109
        },
        {
          name: "种子交易量",
          value: 94
        },
        {
          name: "肥料交易量",
          value: 104
        },
        {
          name: "饲料交易量",
          value: 102
        }
      ]
    };
  },
  mounted() {},
  methods: {}
};
</script>
  
  <style lang="scss" scoped>
.tac {
  text-align: center;
}
.cFFF44A {
  color: #fff44a;
}
.ssjy_class {
  text-align: center;
  width: 712px;
  height: 627px;
  background-image: url(".././../../../assets/government/lnputSupervision/super_6.png");
  background-repeat: no-repeat;
  background-size: 712px;
  position: relative;
  .topTitle {
    position: absolute;
    top: 6px;
    right: 20px;
    .numBox {
      font-family: Source Han Sans CN;
      font-weight: bold;
      font-size: 28px;
      color: #ffffff;
      text-align: center;
      line-height: 30px;
      width: 28px;
      height: 30px;
      background: #0072ff;
      border-radius: 4px;
      margin-right: 5px;
    }
  }
  .top_Item {
    width: 127px;
    height: 64px;
    background-image: url(".././../../../assets/government/lnputSupervision/super_2.png");
    background-repeat: no-repeat;
    background-size: 127px;
    padding-top: 10px;
    .item_name {
      font-family: Source Han Sans CN;
      font-weight: 500;
      font-size: 14px;
      color: #ffffff;
    }
    .item_value {
      font-family: Source Han Sans CN;
      font-weight: bold;
      font-size: 22px;
      background: -webkit-linear-gradient(
        180deg,
        #fff,
        #00f6ff
      ); /* Chrome, Safari */

      background: linear-gradient(180deg, #fff, #00f6ff); /* 标准语法 */
      -webkit-background-clip: text; /* Chrome, Safari */
      background-clip: text;
      -webkit-text-fill-color: transparent; /* Chrome, Safari */
      color: transparent; /* 兼容不支持background-clip的浏览器 */
    }
  }
}
.fwBlod {
  font-weight: bold;
}
.fs28 {
  font-size: 24px;
}
.table-header {
  background: #0072ff;
  text-align: center;
  margin-left: 11px;
  margin-top: 20px;
  margin-bottom: 5px;
  width: 690px;
  height: 38px;
  div:nth-child(1) {
    width: 90px;
  }
  div:nth-child(2) {
    margin-left: 5px;

    width: 140px;
  }
  div:nth-child(3) {
    margin-left: 5px;

    width: 140px;
  }
  div:nth-child(4) {
    margin-left: 5px;

    width: 120px;
  }
  div:nth-child(5) {
    margin-left: 5px;

    width: 120px;
  }

  div:nth-child(6) {
    margin-left: 5px;

    width: 100px;
  }
}
.zhnc-table-th {
  &:nth-child(odd) {
    background: linear-gradient(
      180deg,
      #0072ff 0%,
      #2285ff5b 50%,
      #0072ff 100%
    );
  }
  width: 690px;
  text-align: center;
  padding: 2px 0;
  div:nth-child(1) {
    width: 90px;
  }
  div:nth-child(2) {
    margin-left: 5px;

    width: 140px;
  }
  div:nth-child(3) {
    margin-left: 5px;

    width: 140px;
  }
  div:nth-child(4) {
    margin-left: 5px;

    width: 120px;
  }
  div:nth-child(5) {
    margin-left: 5px;

    width: 120px;
  }

  div:nth-child(6) {
    margin-left: 5px;

    width: 100px;
  }
}
</style>
  